home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.ultrix
- Path: bunyip.cc.uq.oz.au!un!news
- From: al012@svtstu.seqeb.gov.au (Anthony Lee)
- Subject: When should I close a file?
- X-Nntp-Posting-Host: 147.209.150.100
- Message-ID: <DLx4tF.Hs0@un.seqeb.gov.au>
- Sender: news@un.seqeb.gov.au (USENET News System)
- Organization: Your Organization
- X-Newsreader: WinVN 0.93.14
- Mime-Version: 1.0
- Date: Mon, 29 Jan 1996 01:15:13 GMT
-
- I have a C program in ULTRIX and OSF.
-
- The program inputs lines of data representing coordinates of lightning
- strikes. The program records the data arrival time and translates
- the coordinates (for plotting).
-
- The datafile can remain open for days before a strike is recorded.
- Or in a storm many strikes can arrive within a few seconds.
-
- My question is, if the program run continuously then how often
- should I close the file as oppose to just saving it?
-
- Thank you
- --
- Anthony Lee These are my opinions and not SEQEB.
- SEQEB
- 150 Charlotte Street ..-- __o
- Brisbane ....-- _ \<,_
- Qld 4000 ____ (_)/ (_)
-
- Australia
- voice:+61 7 3407 4541 Death to the Daleks!!!!
- fax: +61 7 3407 4607
- email: AL012@svtstu.seqeb.gov.au
-
-